//
//  MMTextAttachment.m
//  ExclusionPath
//
//  Created by hetao on 14-8-12.
//  Copyright (c) 2014年 hetao. All rights reserved.
//

#import "MMTextAttachment.h"

@implementation MMTextAttachment
- (CGRect)attachmentBoundsForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(CGRect)lineFrag glyphPosition:(CGPoint)position characterIndex:(NSUInteger)charIndex NS_AVAILABLE_IOS(7_0)
{
    return CGRectMake( 0 , -3 , lineFrag.size.height+5 , lineFrag.size.height+5 );
}
@end
